package cc.admin.modules.graduate.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import cc.admin.poi.excel.annotation.Excel;
import cc.admin.common.aspect.annotation.Dict;

/**
 * @Description: 试卷
 * @Author: cc-admin
 * @Date:   2024-12-25
 * @Version: V1.0.0
 */
@Data
@TableName("exam_paper")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="exam_paper对象", description="试卷")
public class ExamPaper {

	/**id*/
	@Excel(name = "id", width = 15)
    @ApiModelProperty(value = "id")
	@TableId(type = IdType.ASSIGN_ID)
	private String id;
	/**科目id*/
	@Excel(name = "科目id", width = 15)
    @ApiModelProperty(value = "科目id")
	private String subjectId;
	/**科目*/
	@Excel(name = "科目", width = 15)
    @ApiModelProperty(value = "科目")
	private String subjectText;

	/**卷子名称*/
	@ApiModelProperty(value = "卷子名称")
	private String paperName;
	/**是否从错题出题*/
	@ApiModelProperty(value = "是否从错题出题")
	private String needError;

	@Excel(name = "填空题id", width = 15)
	@TableField(exist = false)
	@ApiModelProperty(value = "体型分布")
	private Map<String, Percent> percent;
	@Excel(name = "填空题id", width = 15)
	@TableField(exist = false)
	@ApiModelProperty(value = "体型分布")
	private Map<String, Percent> breakPercent;

	@Excel(name = "填空题id", width = 15)
	@TableField(exist = false)
	@ApiModelProperty(value = "体型分布")
	private Map<String, Percent> designPercent;

	@Excel(name = "填空题id", width = 15)
	@TableField(exist = false)
	@ApiModelProperty(value = "填空题目总数")
	private List<Integer> blankQuantity;

	@Excel(name = "填空题id", width = 15)
	@TableField(exist = false)
	@ApiModelProperty(value = "应用题目总数")
	private List<Integer> designQuantity;

	@Excel(name = "科目题目总数", width = 15)
	@TableField(exist = false)
	@ApiModelProperty(value = "选择科目题目总数")
	private List<Integer> quantity;

	@ApiModelProperty(value = "体型分布文本")
	private String percentText;
	/**填空题id*/
	@Excel(name = "填空题id", width = 15)
    @ApiModelProperty(value = "填空题id")
	private String blankIds;
	/**选择题id*/
	@Excel(name = "选择题id", width = 15)
    @ApiModelProperty(value = "选择题id")
	private String choiceIds;
	/**应用题id*/
	@Excel(name = "应用题id", width = 15)
	@ApiModelProperty(value = "应用题id")
	private String designIds;
	/**专业id*/
	@Excel(name = "专业id", width = 15)
    @ApiModelProperty(value = "专业id")
	private String majorId;
	/**专业*/
	@Excel(name = "专业", width = 15)
    @ApiModelProperty(value = "专业")
	private String majorText;
	/**类型*/
	@Excel(name = "类型", width = 15)
    @ApiModelProperty(value = "类型")
	private String type;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改时间*/
	@Excel(name = "修改时间", width = 15)
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
	private String updateBy;
	/***/
	@Excel(name = "", width = 15)
    @ApiModelProperty(value = "")
	private String tenantId;
}
